package com.hc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hc.domain.City;
import com.hc.mapper.CityMapper;
import com.hc.service.CityService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 市
 *
 * @author 六月Bing
 */
@Service
public class CityServiceImpl extends ServiceImpl<CityMapper, City> implements CityService {

    @Override
    public int updateBatchSelective(List<City> list) {
        return baseMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<City> list) {
        return baseMapper.batchInsert(list);
    }
}